
package com.work.util;

import java.sql.Time;

public class AppConstants {

	public static final String SCHEMA_PATH = "resources/xsd/";
	public static final String XML_PATH = "resources/xml/";

	public static final String TIME_ZERO_STRING = "00:00:00";
	public static final String TIME_WORK_FULL_STRING = "08:00:00";

	public static final String SUMA = "SUMA";
	public static final String SPACE = " ";
	public static final String PODSUMOWANIE = "PODSUMOWANIE";

	public static final Time TIME_ZERO = Time.valueOf(TIME_ZERO_STRING);
	public static final Time TIME_WORK_FULL = Time.valueOf(TIME_WORK_FULL_STRING);

	public static final Integer MINUTES_WORK_FULL = 480;

	public static final long SECOND_MILLIS = 1000;
	public static final long MINUTE_MILLIS = SECOND_MILLIS * 60;
	public static final long HOUR_MILLIS = MINUTE_MILLIS * 60;
	public static final long DAY_MILLIS = HOUR_MILLIS * 24;
	public static final long YEAR_MILLIS = DAY_MILLIS * 365;
	public static final String TEXT_EDIT = "Edytuj";
	public static final String TEXT_EDIT_OF_WORKTIME = "Edycja czasu pracy";
	public static final int WORK_TIME_LENGTH = 40;

	public static ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
}
